#ifndef COMTRADEDIGITALCHANNEL_H
#define COMTRADEDIGITALCHANNEL_H

/*!
 * \file        comtradedigitalchannel.h
 * \brief       开关量数据结构
 * \details
 * \mainpage
 * \author      Sivan
 * \email
 * \version
 * \date        2022-07-05
 * \license
 */

#include <QObject>

class ComtradeDigitalChannel : public QObject
{
    Q_OBJECT
public:
    explicit ComtradeDigitalChannel(QObject *parent = nullptr);
    ~ComtradeDigitalChannel();

signals:

public:
    QString m_Dn;       //通道编号
    QString m_ch_id;    //通道名称
    QString m_ph;       //通道相
    QString m_ccbm;     //被监视的电路元件
    QString m_y;        //通道状态

    void parse_init(QByteArray &data);
};

#endif // COMTRADEDIGITALCHANNEL_H
